home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / pc_board / profnd20.zip / PROFIND.DOC < prev    next >
Text File  |  1992-01-20  |  3KB  |  72 lines

  1. The PCBFIND program consist of three programs:
  2.    PCBFINST.COM allows you to install the path to your download paths file.
  3.        It expect to find PCBFND.COM in the same directory and will add info
  4.        so that PCBFND always locates the DLPATH file properly.
  5.        The program believes what you tell it--it doesn't check existance to
  6.        allow you to configure it on a machine it won't run on.  Don't rename
  7.        PCBFND.COM until after this program has bee run and then only if you
  8.        are using 4DOS, which provides %0 via the CMDLINE environment variable.
  9.  
  10.        Typical Processing:
  11.        C:>PCBFND
  12.        Enter the complete path\filename the program will use.
  13.        This program installs the location of PCB's DLPATH.LST file.
  14.        Old Configuration: z:\c\bbs\gen\dlpath.lst
  15.        Enter New Path\Filename: p:\bbs\gen\dlpath.lst
  16.  
  17.    PCBFND.COM will locate any group of files across the DIRS and searchs
  18.        all dirs.  You can use any combination of wildcard characters you
  19.        wish to perform the search
  20.  
  21.    PROFND.COM is a version that limit the matches to 20.  You may patch
  22.        it for a different value.  The patch point is at the location
  23.        "■20■" and 20■ may be patched to any value you wish.  The first ■
  24.        cannot hold a value.  The program also expects to find/use:
  25.              Z:\C\BBS\GEN\DLPATH.LST
  26.        It may also be patched and 20-trailing spaces are provided to
  27.        even longer locations. Any shortened ones should have spaces after.
  28.        Chr$(0) is not a terminator and all trailing space must be spaces.
  29.            
  30.        This version does not show the path for possible security reasons.
  31.                                                               
  32.        PROFND also does away with extensions so if the caller puts in
  33.        XFERLIST.ZIP it will search for XFERLIST.*.  This is to be
  34.        consistant with Prodoor lookups for dups.
  35.  
  36.  
  37. The following ProDoor script was provided by Dave Navarro:
  38. @echo off
  39. rem -- Parameters passed to PROFIND.BAT
  40. rem -- %1-Port, %2-Result File, %3-Search Spec
  41. rem -- Your PROXMAIN entry should be:
  42. rem --    0,FIND,EXEC-PROFIND.BAT $N$ $R$
  43.  
  44. rem -- The following is a 4DOS command to see if the third parameter
  45. rem -- exists.  If not, it displays the error message.
  46. if %@len[%3]==0 goto error
  47.  
  48. proecho %1 ~Searching for %3...
  49. pcbfnd %3 > %2
  50. if errorlevel == 1 echo Opps, you've a configuration error, Mr. Sysop.
  51. goto end
  52.  
  53. :error
  54. proecho %1 ~Error:  You must include a filename or filespec~~
  55.  
  56. :end
  57.  
  58. If you want to see more of these little utilities, send a postcard to:
  59.     Ken Prevo
  60.     15303 Colfax
  61.     Lowell, IN 46356         (BBS: 219-696-3415 HST DS)
  62.  
  63. As the sysop of The Toolkit BBS, I write any number of this kind of
  64. program and am happy to share but would appreciate knowing if anyone
  65. else got any use out of them.
  66.  
  67. ERRATA:
  68.   1.0  Called PCBFND10 -- original release
  69.   1.1  Added honoring name change if 4DOS
  70.   2.0  Added PROFND.COM for PRDOOR use.
  71.        Changed name of PCBFND10 to PROFND20 to indicate ProDoor usage
  72.